.class Lcom/netease/newsreader/activity/FeedBackActivity$3;
.super Landroid/os/Handler;
.source "FeedBackActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/FeedBackActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/FeedBackActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/FeedBackActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    .line 263
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6
    .parameter "msg"

    .prologue
    .line 267
    iget v3, p1, Landroid/os/Message;->what:I

    packed-switch v3, :pswitch_data_0

    .line 301
    :goto_0
    return-void

    .line 271
    :pswitch_0
    iget v3, p1, Landroid/os/Message;->arg1:I

    const/4 v4, 0x1

    if-ne v3, v4, :cond_1

    .line 272
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v3

    if-eqz v3, :cond_0

    .line 273
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v3

    invoke-virtual {v3}, Landroid/app/ProgressDialog;->dismiss()V

    .line 275
    :cond_0
    new-instance v2, Landroid/os/Message;

    invoke-direct {v2}, Landroid/os/Message;-><init>()V

    .line 276
    .local v2, message:Landroid/os/Message;
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 277
    .local v0, bundle:Landroid/os/Bundle;
    const-string v3, "errorinfo"

    const-string v4, "\u63d0\u4ea4\u53cd\u9988\u5931\u8d25\uff01"

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 278
    invoke-virtual {v2, v0}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V

    .line 279
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    iget-object v3, v3, Lcom/netease/newsreader/activity/FeedBackActivity;->httpHandler:Landroid/os/Handler;

    invoke-virtual {v3, v2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 282
    .end local v0           #bundle:Landroid/os/Bundle;
    .end local v2           #message:Landroid/os/Message;
    :cond_1
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v3

    if-eqz v3, :cond_2

    .line 283
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->access$3(Lcom/netease/newsreader/activity/FeedBackActivity;)Landroid/app/ProgressDialog;

    move-result-object v3

    invoke-virtual {v3}, Landroid/app/ProgressDialog;->dismiss()V

    .line 285
    :cond_2
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    const-string v4, "\u611f\u8c22\u60a8\u63d0\u4f9b\u7684\u53cd\u9988\uff01"

    const/4 v5, 0x0

    invoke-static {v3, v4, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/Toast;->show()V

    .line 287
    const-wide/16 v3, 0x3e8

    :try_start_0
    invoke-static {v3, v4}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    .line 292
    :goto_1
    iget-object v3, p0, Lcom/netease/newsreader/activity/FeedBackActivity$3;->this$0:Lcom/netease/newsreader/activity/FeedBackActivity;

    invoke-virtual {v3}, Lcom/netease/newsreader/activity/FeedBackActivity;->finish()V

    goto :goto_0

    .line 288
    :catch_0
    move-exception v1

    .line 290
    .local v1, e:Ljava/lang/InterruptedException;
    invoke-virtual {v1}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_1

    .line 267
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch
.end method
